Class: AWSCDK::BillingConductor::CfnCustomLineItem::PresentationDetailsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
billing_conductor/cfn_custom_line_item.rb

Overview

An object that defines how custom line item charges are presented in the bill, containing specifications for service presentation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service:) ⇒ PresentationDetailsProperty

Returns a new instance of PresentationDetailsProperty.

Parameters:

  • service (String)

    The service under which the custom line item charges will be presented.



929
930
931
932
# File 'billing_conductor/cfn_custom_line_item.rb', line 929

def initialize(service:)
  @service = service
  Jsii::Type.check_type(@service, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "service")
end

Instance Attribute Details

#serviceString (readonly)

The service under which the custom line item charges will be presented.

Must be a string between 1 and 128 characters matching the pattern ^[a-zA-Z0-9]+$ .



940
941
942
# File 'billing_conductor/cfn_custom_line_item.rb', line 940

def service
  @service
end

Class Method Details

.jsii_propertiesObject



942
943
944
945
946
# File 'billing_conductor/cfn_custom_line_item.rb', line 942

def self.jsii_properties
  {
    :service => "service",
  }
end

Instance Method Details

#to_jsiiObject



948
949
950
951
952
953
954
# File 'billing_conductor/cfn_custom_line_item.rb', line 948

def to_jsii
  result = {}
  result.merge!({
    "service" => @service,
  })
  result.compact
end