get static method
BucketCorsConfiguration
get(
- String name,
- Input<
String> id, { - BucketCorsConfigurationState? state,
- CustomResourceOptions? options,
Gets an existing BucketCorsConfiguration resource's state with the given name and id.
Implementation
static BucketCorsConfiguration get(
String name,
pulumi.Input<String> id, {
BucketCorsConfigurationState? state,
pulumi.CustomResourceOptions? options,
}) {
return BucketCorsConfiguration._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id).merge(options),
);
}