Show / Hide Table of Contents

Class AvailabilityZoneGroup

Manages an EC2 Availability Zone Group, such as updating its opt-in status.

NOTE: This is an advanced resource. The provider will automatically assume management of the EC2 Availability Zone Group without import and perform no actions on removal from configuration.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.Ec2.AvailabilityZoneGroup("example", new Aws.Ec2.AvailabilityZoneGroupArgs
    {
        GroupName = "us-west-2-lax-1",
        OptInStatus = "opted-in",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
AvailabilityZoneGroup
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public class AvailabilityZoneGroup : CustomResource

Constructors

View Source

AvailabilityZoneGroup(String, AvailabilityZoneGroupArgs, CustomResourceOptions)

Create a AvailabilityZoneGroup resource with the given unique name, arguments, and options.

Declaration
public AvailabilityZoneGroup(string name, AvailabilityZoneGroupArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AvailabilityZoneGroupArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

GroupName

Name of the Availability Zone Group.

Declaration
public Output<string> GroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

OptInStatus

Indicates whether to enable or disable Availability Zone Group. Valid values: opted-in or not-opted-in.

Declaration
public Output<string> OptInStatus { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, AvailabilityZoneGroupState, CustomResourceOptions)

Get an existing AvailabilityZoneGroup resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static AvailabilityZoneGroup Get(string name, Input<string> id, AvailabilityZoneGroupState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

AvailabilityZoneGroupState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
AvailabilityZoneGroup
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.