state

fun state(block: ResourceState.Builder.() -> Unit)

construct an aws.sdk.kotlin.services.imagebuilder.model.ResourceState inside the given block


Specifies the lifecycle action to take for this request. For AMI-based images, valid values are AVAILABLE, DEPRECATED, DISABLED, and DELETED. For container-based images, only DELETED is supported.