Namespace Pulumi.Aws.GlobalAccelerator
Classes
Accelerator
Creates a Global Accelerator accelerator.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.GlobalAccelerator.Accelerator("example", new Aws.GlobalAccelerator.AcceleratorArgs
{
Attributes = new Aws.GlobalAccelerator.Inputs.AcceleratorAttributesArgs
{
FlowLogsEnabled = true,
FlowLogsS3Bucket = "example-bucket",
FlowLogsS3Prefix = "flow-logs/",
},
Enabled = true,
IpAddressType = "IPV4",
});
}
}
AcceleratorArgs
AcceleratorState
EndpointGroup
Provides a Global Accelerator endpoint group.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.GlobalAccelerator.EndpointGroup("example", new Aws.GlobalAccelerator.EndpointGroupArgs
{
EndpointConfigurations =
{
new Aws.GlobalAccelerator.Inputs.EndpointGroupEndpointConfigurationArgs
{
EndpointId = aws_lb.Example.Arn,
Weight = 100,
},
},
ListenerArn = aws_globalaccelerator_listener.Example.Id,
});
}
}
EndpointGroupArgs
EndpointGroupState
Listener
Provides a Global Accelerator listener.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var exampleAccelerator = new Aws.GlobalAccelerator.Accelerator("exampleAccelerator", new Aws.GlobalAccelerator.AcceleratorArgs
{
Attributes = new Aws.GlobalAccelerator.Inputs.AcceleratorAttributesArgs
{
FlowLogsEnabled = true,
FlowLogsS3Bucket = "example-bucket",
FlowLogsS3Prefix = "flow-logs/",
},
Enabled = true,
IpAddressType = "IPV4",
});
var exampleListener = new Aws.GlobalAccelerator.Listener("exampleListener", new Aws.GlobalAccelerator.ListenerArgs
{
AcceleratorArn = exampleAccelerator.Id,
ClientAffinity = "SOURCE_IP",
PortRanges =
{
new Aws.GlobalAccelerator.Inputs.ListenerPortRangeArgs
{
FromPort = 80,
ToPort = 80,
},
},
Protocol = "TCP",
});
}
}