Provides details about AWS S3 Control Multi-Region Access Points.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.s3control.getMultiRegionAccessPoints({});
import pulumi
import pulumi_aws as aws
example = aws.s3control.get_multi_region_access_points()
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3control"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := s3control.GetMultiRegionAccessPoints(ctx, &s3control.GetMultiRegionAccessPointsArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.S3Control.GetMultiRegionAccessPoints.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.s3control.S3controlFunctions;
import com.pulumi.aws.s3control.inputs.GetMultiRegionAccessPointsArgs;
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 = S3controlFunctions.getMultiRegionAccessPoints(GetMultiRegionAccessPointsArgs.builder()
.build());
}
}
variables:
example:
fn::invoke:
function: aws:s3control:getMultiRegionAccessPoints
arguments: {}
Using getMultiRegionAccessPoints
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMultiRegionAccessPoints(args: GetMultiRegionAccessPointsArgs, opts?: InvokeOptions): Promise<GetMultiRegionAccessPointsResult>
function getMultiRegionAccessPointsOutput(args: GetMultiRegionAccessPointsOutputArgs, opts?: InvokeOptions): Output<GetMultiRegionAccessPointsResult>def get_multi_region_access_points(account_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMultiRegionAccessPointsResult
def get_multi_region_access_points_output(account_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMultiRegionAccessPointsResult]func GetMultiRegionAccessPoints(ctx *Context, args *GetMultiRegionAccessPointsArgs, opts ...InvokeOption) (*GetMultiRegionAccessPointsResult, error)
func GetMultiRegionAccessPointsOutput(ctx *Context, args *GetMultiRegionAccessPointsOutputArgs, opts ...InvokeOption) GetMultiRegionAccessPointsResultOutput> Note: This function is named GetMultiRegionAccessPoints in the Go SDK.
public static class GetMultiRegionAccessPoints
{
public static Task<GetMultiRegionAccessPointsResult> InvokeAsync(GetMultiRegionAccessPointsArgs args, InvokeOptions? opts = null)
public static Output<GetMultiRegionAccessPointsResult> Invoke(GetMultiRegionAccessPointsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMultiRegionAccessPointsResult> getMultiRegionAccessPoints(GetMultiRegionAccessPointsArgs args, InvokeOptions options)
public static Output<GetMultiRegionAccessPointsResult> getMultiRegionAccessPoints(GetMultiRegionAccessPointsArgs args, InvokeOptions options)
fn::invoke:
function: aws:s3control/getMultiRegionAccessPoints:getMultiRegionAccessPoints
arguments:
# arguments dictionaryThe following arguments are supported:
- account_
id str - AWS account ID for the account that owns the multi-region access points. If omitted, defaults to the caller's account ID.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
getMultiRegionAccessPoints Result
The following output properties are available:
- Access
Points List<GetMulti Region Access Points Access Point> - List of multi-region access points. See
access_pointsbelow. - Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Name of the Region.
- Account
Id string
- Access
Points []GetMulti Region Access Points Access Point - List of multi-region access points. See
access_pointsbelow. - Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Name of the Region.
- Account
Id string
- access
Points List<GetMulti Region Access Points Access Point> - List of multi-region access points. See
access_pointsbelow. - id String
- The provider-assigned unique ID for this managed resource.
- region String
- Name of the Region.
- account
Id String
- access
Points GetMulti Region Access Points Access Point[] - List of multi-region access points. See
access_pointsbelow. - id string
- The provider-assigned unique ID for this managed resource.
- region string
- Name of the Region.
- account
Id string
- access_
points Sequence[GetMulti Region Access Points Access Point] - List of multi-region access points. See
access_pointsbelow. - id str
- The provider-assigned unique ID for this managed resource.
- region str
- Name of the Region.
- account_
id str
- access
Points List<Property Map> - List of multi-region access points. See
access_pointsbelow. - id String
- The provider-assigned unique ID for this managed resource.
- region String
- Name of the Region.
- account
Id String
Supporting Types
GetMultiRegionAccessPointsAccessPoint
- Alias string
- Alias for the multi-region access point.
- Created
At string - Time the multi-region access point was created.
- Name string
- Name of the multi-region access point.
- Public
Access List<GetBlocks Multi Region Access Points Access Point Public Access Block> - Public access block configuration for this multi-region access point. See
public_access_blockbelow. - Regions
List<Get
Multi Region Access Points Access Point Region> - List of AWS Regions where the multi-region access point has data support. See
regionsbelow. - Status string
- Current status of the multi-region access point.
- Alias string
- Alias for the multi-region access point.
- Created
At string - Time the multi-region access point was created.
- Name string
- Name of the multi-region access point.
- Public
Access []GetBlocks Multi Region Access Points Access Point Public Access Block - Public access block configuration for this multi-region access point. See
public_access_blockbelow. - Regions
[]Get
Multi Region Access Points Access Point Region - List of AWS Regions where the multi-region access point has data support. See
regionsbelow. - Status string
- Current status of the multi-region access point.
- alias String
- Alias for the multi-region access point.
- created
At String - Time the multi-region access point was created.
- name String
- Name of the multi-region access point.
- public
Access List<GetBlocks Multi Region Access Points Access Point Public Access Block> - Public access block configuration for this multi-region access point. See
public_access_blockbelow. - regions
List<Get
Multi Region Access Points Access Point Region> - List of AWS Regions where the multi-region access point has data support. See
regionsbelow. - status String
- Current status of the multi-region access point.
- alias string
- Alias for the multi-region access point.
- created
At string - Time the multi-region access point was created.
- name string
- Name of the multi-region access point.
- public
Access GetBlocks Multi Region Access Points Access Point Public Access Block[] - Public access block configuration for this multi-region access point. See
public_access_blockbelow. - regions
Get
Multi Region Access Points Access Point Region[] - List of AWS Regions where the multi-region access point has data support. See
regionsbelow. - status string
- Current status of the multi-region access point.
- alias str
- Alias for the multi-region access point.
- created_
at str - Time the multi-region access point was created.
- name str
- Name of the multi-region access point.
- public_
access_ Sequence[Getblocks Multi Region Access Points Access Point Public Access Block] - Public access block configuration for this multi-region access point. See
public_access_blockbelow. - regions
Sequence[Get
Multi Region Access Points Access Point Region] - List of AWS Regions where the multi-region access point has data support. See
regionsbelow. - status str
- Current status of the multi-region access point.
- alias String
- Alias for the multi-region access point.
- created
At String - Time the multi-region access point was created.
- name String
- Name of the multi-region access point.
- public
Access List<Property Map>Blocks - Public access block configuration for this multi-region access point. See
public_access_blockbelow. - regions List<Property Map>
- List of AWS Regions where the multi-region access point has data support. See
regionsbelow. - status String
- Current status of the multi-region access point.
GetMultiRegionAccessPointsAccessPointPublicAccessBlock
- Block
Public boolAcls - Whether Amazon S3 should block public ACLs for buckets in this account.
- Block
Public boolPolicy - Whether Amazon S3 should block public bucket policies for buckets in this account.
- Ignore
Public boolAcls - Whether Amazon S3 should ignore public ACLs for buckets in this account.
- Restrict
Public boolBuckets - Whether Amazon S3 should restrict public bucket policies for buckets in this account.
- Block
Public boolAcls - Whether Amazon S3 should block public ACLs for buckets in this account.
- Block
Public boolPolicy - Whether Amazon S3 should block public bucket policies for buckets in this account.
- Ignore
Public boolAcls - Whether Amazon S3 should ignore public ACLs for buckets in this account.
- Restrict
Public boolBuckets - Whether Amazon S3 should restrict public bucket policies for buckets in this account.
- block
Public BooleanAcls - Whether Amazon S3 should block public ACLs for buckets in this account.
- block
Public BooleanPolicy - Whether Amazon S3 should block public bucket policies for buckets in this account.
- ignore
Public BooleanAcls - Whether Amazon S3 should ignore public ACLs for buckets in this account.
- restrict
Public BooleanBuckets - Whether Amazon S3 should restrict public bucket policies for buckets in this account.
- block
Public booleanAcls - Whether Amazon S3 should block public ACLs for buckets in this account.
- block
Public booleanPolicy - Whether Amazon S3 should block public bucket policies for buckets in this account.
- ignore
Public booleanAcls - Whether Amazon S3 should ignore public ACLs for buckets in this account.
- restrict
Public booleanBuckets - Whether Amazon S3 should restrict public bucket policies for buckets in this account.
- block_
public_ boolacls - Whether Amazon S3 should block public ACLs for buckets in this account.
- block_
public_ boolpolicy - Whether Amazon S3 should block public bucket policies for buckets in this account.
- ignore_
public_ boolacls - Whether Amazon S3 should ignore public ACLs for buckets in this account.
- restrict_
public_ boolbuckets - Whether Amazon S3 should restrict public bucket policies for buckets in this account.
- block
Public BooleanAcls - Whether Amazon S3 should block public ACLs for buckets in this account.
- block
Public BooleanPolicy - Whether Amazon S3 should block public bucket policies for buckets in this account.
- ignore
Public BooleanAcls - Whether Amazon S3 should ignore public ACLs for buckets in this account.
- restrict
Public BooleanBuckets - Whether Amazon S3 should restrict public bucket policies for buckets in this account.
GetMultiRegionAccessPointsAccessPointRegion
- Bucket string
- Name of the associated bucket for the Region.
- Bucket
Account stringId - AWS account ID that owns the Amazon S3 bucket associated with this multi-region access point.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Bucket string
- Name of the associated bucket for the Region.
- Bucket
Account stringId - AWS account ID that owns the Amazon S3 bucket associated with this multi-region access point.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- bucket String
- Name of the associated bucket for the Region.
- bucket
Account StringId - AWS account ID that owns the Amazon S3 bucket associated with this multi-region access point.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- bucket string
- Name of the associated bucket for the Region.
- bucket
Account stringId - AWS account ID that owns the Amazon S3 bucket associated with this multi-region access point.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- bucket str
- Name of the associated bucket for the Region.
- bucket_
account_ strid - AWS account ID that owns the Amazon S3 bucket associated with this multi-region access point.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- bucket String
- Name of the associated bucket for the Region.
- bucket
Account StringId - AWS account ID that owns the Amazon S3 bucket associated with this multi-region access point.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
