All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.cloudformation.kotlin.outputs.GetStackSetResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.cloudformation.kotlin.outputs

import com.pulumi.awsnative.cloudformation.kotlin.enums.StackSetCapability
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property administrationRoleArn The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account.
 * @property autoDeployment Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to the target organization or organizational unit (OU). Specify only if PermissionModel is SERVICE_MANAGED.
 * @property capabilities In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for AWS CloudFormation to create the stack set and related stack instances.
 * @property description A description of the stack set. You can use the description to identify the stack set's purpose or other important information.
 * @property executionRoleName The name of the IAM execution role to use to create the stack set. If you do not specify an execution role, AWS CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation.
 * @property managedExecution Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
 * @property parameters The input parameters for the stack set template.
 * @property stackSetId The ID of the stack set that you're creating.
 * @property tags The key-value pairs to associate with this stack set and the stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be specified.
 * @property templateBody The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.
 */
public data class GetStackSetResult(
    public val administrationRoleArn: String? = null,
    public val autoDeployment: StackSetAutoDeployment? = null,
    public val capabilities: List? = null,
    public val description: String? = null,
    public val executionRoleName: String? = null,
    public val managedExecution: ManagedExecutionProperties? = null,
    public val parameters: List? = null,
    public val stackSetId: String? = null,
    public val tags: List? = null,
    public val templateBody: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cloudformation.outputs.GetStackSetResult): GetStackSetResult = GetStackSetResult(
            administrationRoleArn = javaType.administrationRoleArn().map({ args0 -> args0 }).orElse(null),
            autoDeployment = javaType.autoDeployment().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.cloudformation.kotlin.outputs.StackSetAutoDeployment.Companion.toKotlin(args0)
                })
            }).orElse(null),
            capabilities = javaType.capabilities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.cloudformation.kotlin.enums.StackSetCapability.Companion.toKotlin(args0)
                })
            }),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            executionRoleName = javaType.executionRoleName().map({ args0 -> args0 }).orElse(null),
            managedExecution = javaType.managedExecution().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.cloudformation.kotlin.outputs.ManagedExecutionProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            parameters = javaType.parameters().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.cloudformation.kotlin.outputs.StackSetParameter.Companion.toKotlin(args0)
                })
            }),
            stackSetId = javaType.stackSetId().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            templateBody = javaType.templateBody().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy