get Infrastructure Configuration
suspend fun getInfrastructureConfiguration(argument: GetInfrastructureConfigurationPlainArgs): GetInfrastructureConfigurationResult
Provides details about an Image Builder Infrastructure Configuration.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.imagebuilder.ImagebuilderFunctions;
import com.pulumi.aws.imagebuilder.inputs.GetInfrastructureConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = ImagebuilderFunctions.getInfrastructureConfiguration(GetInfrastructureConfigurationArgs.builder()
.arn("arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getInfrastructureConfiguration.
Parameters
argument
A collection of arguments for invoking getInfrastructureConfiguration.
suspend fun getInfrastructureConfiguration(arn: String, resourceTags: Map<String, String>? = null, tags: Map<String, String>? = null): GetInfrastructureConfigurationResult
Return
A collection of values returned by getInfrastructureConfiguration.
Parameters
arn
ARN of the infrastructure configuration.
resource Tags
Key-value map of resource tags for the infrastructure created by the infrastructure configuration.
tags
Key-value map of resource tags for the infrastructure configuration.
See also
suspend fun getInfrastructureConfiguration(argument: suspend GetInfrastructureConfigurationPlainArgsBuilder.() -> Unit): GetInfrastructureConfigurationResult
Return
A collection of values returned by getInfrastructureConfiguration.
Parameters
argument
Builder for com.pulumi.aws.imagebuilder.kotlin.inputs.GetInfrastructureConfigurationPlainArgs.