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