Name | Type | Description | Notes |
---|---|---|---|
ExternalId | Pointer to string | external_id to include when assuming the IAM role specified by role_arn. Optional. A specific value may be required by the role's trust policy. Only supported for Advanced clusters. If provided for a Standard cluster, the request is rejected. | [optional] |
LogGroupName | Pointer to string | log_group_name is the customized log group name. | [optional] |
RoleArn | string | role_arn is the IAM role used to upload metric segments to the target AWS account. | |
TargetRegion | Pointer to string | target_region specifies the specific AWS region that the metrics will be exported to. | [optional] |
func NewEnableCloudWatchMetricExportRequest(roleArn string, ) *EnableCloudWatchMetricExportRequest
NewEnableCloudWatchMetricExportRequest instantiates a new EnableCloudWatchMetricExportRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEnableCloudWatchMetricExportRequestWithDefaults() *EnableCloudWatchMetricExportRequest
NewEnableCloudWatchMetricExportRequestWithDefaults instantiates a new EnableCloudWatchMetricExportRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (o *EnableCloudWatchMetricExportRequest) GetExternalId() string
GetExternalId returns the ExternalId field if non-nil, zero value otherwise.
func (o *EnableCloudWatchMetricExportRequest) SetExternalId(v string)
SetExternalId sets ExternalId field to given value.
func (o *EnableCloudWatchMetricExportRequest) GetLogGroupName() string
GetLogGroupName returns the LogGroupName field if non-nil, zero value otherwise.
func (o *EnableCloudWatchMetricExportRequest) SetLogGroupName(v string)
SetLogGroupName sets LogGroupName field to given value.
func (o *EnableCloudWatchMetricExportRequest) GetRoleArn() string
GetRoleArn returns the RoleArn field if non-nil, zero value otherwise.
func (o *EnableCloudWatchMetricExportRequest) SetRoleArn(v string)
SetRoleArn sets RoleArn field to given value.
func (o *EnableCloudWatchMetricExportRequest) GetTargetRegion() string
GetTargetRegion returns the TargetRegion field if non-nil, zero value otherwise.
func (o *EnableCloudWatchMetricExportRequest) SetTargetRegion(v string)
SetTargetRegion sets TargetRegion field to given value.