Module: AWSCDK::Route53::INamedHostedZoneRef
- Includes:
- Interfaces::AWSRoute53::IHostedZoneRef
- Included in:
- IHostedZone
- Defined in:
- route53/i_named_hosted_zone_ref.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#env ⇒ AWSCDK::Interfaces::ResourceEnvironment
The environment this resource belongs to.
-
#hosted_zone_ref ⇒ AWSCDK::Interfaces::AWSRoute53::HostedZoneReference
A reference to a HostedZone resource.
- #name ⇒ String
-
#node ⇒ Constructs::Node
The tree node.
-
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Class Method Details
.jsii_overridable_methods ⇒ Object
55 56 57 58 59 60 61 62 63 |
# File 'route53/i_named_hosted_zone_ref.rb', line 55 def self.jsii_overridable_methods { :node => { kind: :property, name: "node", is_optional: false }, :env => { kind: :property, name: "env", is_optional: false }, :hosted_zone_ref => { kind: :property, name: "hostedZoneRef", is_optional: false }, :name => { kind: :property, name: "name", is_optional: false }, :with => { kind: :method, name: "with", is_optional: false }, } end |
Instance Method Details
#env ⇒ AWSCDK::Interfaces::ResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed in a Stack (those created by
creating new class instances like new Role(), new Bucket(), etc.), this
is always the same as the environment of the stack they belong to.
For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be
different than the stack they were imported into.
25 26 27 |
# File 'route53/i_named_hosted_zone_ref.rb', line 25 def env() jsii_get_property("env") end |
#hosted_zone_ref ⇒ AWSCDK::Interfaces::AWSRoute53::HostedZoneReference
A reference to a HostedZone resource.
32 33 34 |
# File 'route53/i_named_hosted_zone_ref.rb', line 32 def hosted_zone_ref() jsii_get_property("hostedZoneRef") end |
#name ⇒ String
37 38 39 |
# File 'route53/i_named_hosted_zone_ref.rb', line 37 def name() jsii_get_property("name") end |
#node ⇒ Constructs::Node
The tree node.
10 11 12 |
# File 'route53/i_named_hosted_zone_ref.rb', line 10 def node() jsii_get_property("node") end |
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.
48 49 50 51 52 53 |
# File 'route53/i_named_hosted_zone_ref.rb', line 48 def with(*mixins) mixins.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLklNaXhpbiJ9")), "mixins[#{index}]") end jsii_call_method("with", [*mixins]) end |